package com.wanxi.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.wanxi.util.IdJsonSerialize;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * @author 杨金乾
 */
@Data
@ApiModel("门店实体类")
public class StoresModel {
    @ApiModelProperty("id")
    @JsonSerialize(using = IdJsonSerialize.class)
    private Long id;
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("门店照片")
    private String img;
    @ApiModelProperty("是否显示")
    private Integer isShow;
    @ApiModelProperty("页")
    private Integer page;
    @ApiModelProperty("条")
    private Integer limit;

//    public String getStringId() {
//        return id.toString();
//    }
//
//    public void setStringId(String stringId) {
//        id = Long.valueOf(stringId);
//    }
}
